Completion after Program Inversion of Injective Functions

نویسندگان

  • Naoki Nishida
  • Masahiko Sakai
چکیده

Given a constructor term rewriting system that defines injective functions, the inversion compiler proposed by Nishida, Sakai and Sakabe generates a conditional term rewriting system that defines the inverse relations of the injective functions, and then the compiler unravels the conditional system into an unconditional term rewriting system. In general, the resulting unconditional system is not (innermost-)confluent even if the conditional system is (innermost-)confluent. In this paper, we propose a modification of the Knuth-Bendix completion procedure, which is used as a post-processor of the inversion compiler. Given a confluent and operationally terminating conditional system, the procedure takes the resulting unconditional systems as input. When the procedure halts successfully, it returns convergent systems that are computationally equivalent to the conditional systems. To adapt the modified procedure to the conditional systems that are not confluent but innermost-confluent, we propose a simplified variant of the modified procedure. We report that the implementations of the procedures succeed in generating innermost-convergent inverse systems for all the examples we tried.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Completion of Unraveled Term Rewriting Systems toward Program Inversion of Injective Functions

Given a constructor term rewriting system defining injective functions, the inversion compiler proposed by Nishida, Sakai and Sakabe generates a confluent conditional term rewriting system, and unravels the conditional system into an unconditional term rewriting system. In general, the unconditional system is not confluent and thus not computationally equivalent to the conditional system. In th...

متن کامل

Program Inversion for Tail Recursive Functions

Program inversion is a fundamental problem that has been addressed in many different programming settings and applications. In the context of term rewriting, several methods already exist for computing the inverse of an injective function. These methods, however, usually return non-terminating inverted functions when the considered function is tail recursive. In this paper, we propose a direct ...

متن کامل

Proving Injectivity of Functions via Program Inversion in Term Rewriting

Injectivity is one of the important properties for functions while it is undecidable in general and decidable for linear treeless functions. In this paper, we show new sufficient conditions for injectivity of functions in term rewriting, which are based on program inversion. More precisely, we show that functions defined by non-erasing, convergent and sufficiently complete constructor rewrite s...

متن کامل

Convergent Term Rewriting Systems for Inverse Computation of Injective Functions

This paper shows a sufficient syntactic condition for constructor TRSs whose inverse-computation CTRSs generated by Nishida, Sakai and Sakabe’s inversion compiler are confluent and operationally terminating. By replacing the unraveling at the second phase of the compiler with Serbanuta and Rosu’s transformation, we generate convergent TRSs for inverse computation of injective functions satisfyi...

متن کامل

Posets of Finite Functions

The symmetric group S(n) is partially ordered by Bruhat order. This order is extended by L. Renner to the set of partial injective functions of {1, 2, . . . , n} (see, Linear Algebraic Monoids, Springer, 2005). This poset is investigated by M. Fortin in his paper The MacNeille Completion of the Poset of Partial Injective Functions [Electron. J. Combin., 15, R62, 2008]. In this paper we show tha...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Electr. Notes Theor. Comput. Sci.

دوره 237  شماره 

صفحات  -

تاریخ انتشار 2009